package com.xqb.modules.domain.po;

import com.xqb.common.annotation.Excel;
import com.xqb.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 课程老师关系对象 les_course_teacher
 * 
 * @author xqb
 * @date 2024-10-14
 */
public class LesCourseTeacher extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 课程老师关系id */
    private Long id;

    /** 课程id */
    @Excel(name = "课程id")
    private Long courseId;

    /** 老师id */
    @Excel(name = "老师id")
    private Long teacherId;

    /** 用户端是否展示 */
    @Excel(name = "用户端是否展示")
    private Long isShow;

    /** 序号 */
    @Excel(name = "序号")
    private Long cIndex;

    /** 部门id */
    @Excel(name = "部门id")
    private Long depId;

    /** 逻辑删除 */
    private Long delFlag;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setCourseId(Long courseId) 
    {
        this.courseId = courseId;
    }

    public Long getCourseId() 
    {
        return courseId;
    }
    public void setTeacherId(Long teacherId) 
    {
        this.teacherId = teacherId;
    }

    public Long getTeacherId() 
    {
        return teacherId;
    }
    public void setIsShow(Long isShow) 
    {
        this.isShow = isShow;
    }

    public Long getIsShow() 
    {
        return isShow;
    }
    public void setcIndex(Long cIndex) 
    {
        this.cIndex = cIndex;
    }

    public Long getcIndex() 
    {
        return cIndex;
    }
    public void setDepId(Long depId) 
    {
        this.depId = depId;
    }

    public Long getDepId() 
    {
        return depId;
    }
    public void setDelFlag(Long delFlag) 
    {
        this.delFlag = delFlag;
    }

    public Long getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("courseId", getCourseId())
            .append("teacherId", getTeacherId())
            .append("isShow", getIsShow())
            .append("cIndex", getcIndex())
            .append("depId", getDepId())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
